package oop.Demo04;

/**
 * @Author Miku
 * @Create 2021/4/7 16:33
 */
public class Student extends Person{

    private String name = "Yae_Sakura";

    @Override
    public void print() {
        System.out.println("Student");
    }

    public void test(String name) {
        System.out.println(name);
        System.out.println(this.name);
        System.out.println(super.name);
    }

}
